package com.yxinsur.imc.api.service.demo;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.yxinsur.imc.common.core.controller.BaseController;
import com.yxinsur.imc.common.core.domain.AjaxResult;

/**
 * 示例接口服务
 * 
 * @author imc
 * @date 2021-07-10
 */
@Api(value = "demo模块",tags = "0.示例服务接口")
@RestController
@RequestMapping("/api/demo")
public class DemoController
{
    /**
     * 你好世界
     */
    @ApiOperation("hello")
    @PostMapping("/hello")
    public AjaxResult versions()
    {
        return AjaxResult.success("hi.");
    }

}
